package com.lone.smallmovie.service.impl;

import com.lone.smallmovie.dao.VideoDao;
import com.lone.smallmovie.model.Video;
import com.lone.smallmovie.service.VideoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VideoServiceImpl implements VideoService{

    @Autowired
    private VideoDao videoDao;

    public List<Video> queryVideo() {
        return videoDao.queryVideo();
    }
}
